
package com.p2p.account.service.impl;

import com.p2p.account.mapper.AgentMapper;
import com.p2p.account.po.Agent;
import com.p2p.account.service.AgentService;
import com.p2p.account.vo.AgentVo;
import com.p2p.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AgentServiceImpl extends BaseServiceImpl<AgentMapper, Agent> implements AgentService {
    private static final Logger logger = LoggerFactory.getLogger(AgentServiceImpl.class);
    @Autowired
    private AgentMapper agentMapper;


    @Override
    public List<AgentVo> selectLists(Integer startRow, Integer pageSize,String sortField,String orderField) {
        return agentMapper.selectLists(startRow,pageSize,sortField,orderField);
    }
}
